package com.atguigu.daijia.dispatch.xxl.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 山顶洞人郑某
 * @className XxlJobClientConfig.java XxlJob客户端相关配置
 * @date 2024 09 11
 */
@Component
@Data
@ConfigurationProperties(prefix = "xxl.job.client")
public class XxlJobClientConfig {
    private Integer jobGroupId; //分组id
    private String addUrl; //添加任务路径
    private String removeUrl; //删除任务路径
    private String startJobUrl; //开启任务路径
    private String stopJobUrl; //停止任务路径
    private String addAndStartUrl; //添加并开启任务路径
}
